﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Web;
using TestMySql.Models;

namespace TestMySql
{
    public class DmsUserMapping: EntityTypeConfiguration<DmsUser>
    {
        public DmsUserMapping()
        {
            this.ToTable("DmsUsers");

            this.Property(c => c.Name).HasMaxLength(300);
        }
    }
}